home *** CD-ROM | disk | FTP | other *** search
/ Strategy Challenges Collection / Strategy Challenges Collection.iso / pc / demo / demodata / menu.dxr / 00198.ls < prev    next >
Encoding:
Text File  |  1996-10-02  |  379 b   |  19 lines

  1. on mouseDown
  2.   buttonHilite()
  3. end
  4.  
  5. on mouseUp
  6.   global gAbort
  7.   if gAbort = 0 then
  8.     set tempJump to the name of cast the castNum of sprite clickOn()
  9.     if tempJump <> "Tthings1" then
  10.       exit
  11.     end if
  12.     set jumpName to chars(tempJump, 1, length(tempJump) - 5)
  13.     clearPuppets(2, 12)
  14.     go(the frame + 1)
  15.     puppetSound(0)
  16.     PlayDemoFrame(1, jumpName)
  17.   end if
  18. end
  19.